package com.wzx.user.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collection;
import java.util.List;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/4/26 - 9:50
 * @description 标题
 */
@Data
public class RedPkgDto {

    @ApiModelProperty(notes = "主键id", required = true)
    private Integer redPkgId;

    @ApiModelProperty(value = "发送者id")
    private Integer sendId;

    @ApiModelProperty(value = "发送者姓名")
    private String sendName;

    @ApiModelProperty(value = "发送者头像")
    private String sendHead;

    @ApiModelProperty(value = "发送金额（总金额）")
    private double totalAmount;

    @ApiModelProperty(value = "总个数")
    private Integer totalNum;

    @ApiModelProperty(value = "红包标题（恭喜发财等）")
    private String title;

    @ApiModelProperty(value = "红包类型（1：普通红包；2：手气红包；3：指定红包；4：私人红包）")
    private String type;

    @ApiModelProperty(value = "剩余金额")
    private double surplusAmount;

    @ApiModelProperty(value = "剩余红包个数")
    private Integer surplusNum;

    @ApiModelProperty(value = "已抢过红包人数（以，隔开）")
    private List<Integer> readUserIds;

    @ApiModelProperty(value = "每个红包分配的金额")
    private int[] generateArr;

    @ApiModelProperty(value = "红包状态（1：对方未领取；2：领取成功或已退回）")
    private String dataState;

    @ApiModelProperty(value = "红包抢光时间")
    private String lootAllTime;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "更新时间")
    private Double userRodAmount;

    @ApiModelProperty(value = "指定抢红包对象")
    private Integer appointUserId;

    @ApiModelProperty(value = "指定抢红包对象")
    private Integer appointUserName;

    @ApiModelProperty(value = "手气最佳金额")
    private Integer maxAmount;

    @ApiModelProperty(value = "手气最佳下标")
    private Integer maxIndex;

    @ApiModelProperty(value = "用户抢到的红包金额")
    private Double robAmount;

    @ApiModelProperty(value = "用户抢到的红包金额整形")
    private Integer robAmountByInt;

    @ApiModelProperty(value = "抢包用户ID")
    private Integer robUserId;

    @ApiModelProperty(value = "抢包用户昵称")
    private String robNickname;

    @ApiModelProperty(value = "群聊id")
    private Integer groupId;

    @ApiModelProperty(value = "已抢过红包的昵称")
    private List<String> readUserNames;
}
